package com.ruoyi.weeklyReport.domain;

import com.ruoyi.sample.domain.Sample;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 周报简报对象 gc_weekly_report
 *
 * @author ruoyi
 * @date 2025-05-09
 */
@ApiModel
public class WeeklyReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 工程id */
//    @Excel(name = "工程id")
    @ApiModelProperty(value = "工程id")
    private Long engineeringId;

    @Excel(name = "工程编号")
    private String engineeringNumber;

    @ApiModelProperty(value = "工程名称")
    @Excel(name = "工程名称")
    private String engineeringName;

    @Excel(name = "项目经理")
    @ApiModelProperty(value = "项目经理")
    private String projectManagerName;

    @Excel(name = "业主单位")
    private String enterpriseName;

    @Excel(name = "检测项目")
    @ApiModelProperty(value = "检测项目")
    private String testProject;

    /** 工程总量 */
    @Excel(name = "工作总量")
    @ApiModelProperty(value = "工作总量")
    private Long total;

    /** 完成数量 */
    @Excel(name = "完成数量")
    @ApiModelProperty(value = "完成数量")
    private Long doneNum;

    /** 总计完成数量 */
    @Excel(name = "累计完成数量")
    @ApiModelProperty(value = "累计完成数量")
    private Long doneTotalNum;

    /** 完成工作量 */
    @Excel(name = "完成工作量(%)")
    @ApiModelProperty(value = "完成工作量(%)")
    private String doneTotal;

    /** 检测类别 */
//    @Excel(name = "检测类别")
    @ApiModelProperty(value = "检测类别")
    private String testType;
    public void setTestType(String testType)
    {
        this.testType = testType;
    }
    public String getTestType()
    {
        return testType;
    }

    /** 月份 */
//    @Excel(name = "月份")
    @ApiModelProperty(value = "月份")
    private String yuefen;
    public void setYuefen(String yuefen)
    {
        this.yuefen = yuefen;
    }
    public String getYuefen()
    {
        return yuefen;
    }


    public void setEngineeringName(String engineeringName)
    {
        this.engineeringName = engineeringName;
    }
    public String getEngineeringName()
    {
        return engineeringName;
    }

    @ApiModelProperty(value = "阶段")
    private String engineeringStage;
    public void setEngineeringStage(String engineeringStage)
    {
        this.engineeringStage = engineeringStage;
    }
    public String getEngineeringStage()
    {
        return engineeringStage;
    }

    @ApiModelProperty(value = "项目类别")
    private String engineeringType;
    public void setEngineeringType(String engineeringType)
    {
        this.engineeringType = engineeringType;
    }
    public String getEngineeringType()
    {
        return engineeringType;
    }

    /** 项目经理id */
//    @Excel(name = "项目经理id")
    @ApiModelProperty(value = "项目经理id")
    private Long projectManagerId;
    public void setProjectManagerId(Long projectManagerId)
    {
        this.projectManagerId = projectManagerId;
    }
    public Long getProjectManagerId()
    {
        return projectManagerId;
    }


    public void setProjectManagerName(String projectManagerName)
    {
        this.projectManagerName = projectManagerName;
    }
    public String getProjectManagerName()
    {
        return projectManagerName;
    }

    @ApiModelProperty(value = "检测项目")
    private List<Sample> sampleList;
    public void setSampleList(List<Sample> sampleList)
    {
        this.sampleList = sampleList;
    }
    public List<Sample> getSampleList()
    {
        return sampleList;
    }

    private Long commissionId;
    public void setCommissionId(Long commissionId)
    {
        this.commissionId = commissionId;
    }
    public Long getCommissionId()
    {
        return commissionId;
    }

    private Long attachedDataId;
    public void setAttachedDataId(Long attachedDataId)
    {
        this.attachedDataId = attachedDataId;
    }
    public Long getAttachedDataId()
    {
        return attachedDataId;
    }

    private Long enterpriseId;
    public void setEnterpriseId(Long enterpriseId)
    {
        this.enterpriseId = enterpriseId;
    }
    public Long getEnterpriseId()
    {
        return enterpriseId;
    }

    private Long isRoleShow;
    public void setIsRoleShow(Long isRoleShow)
    {
        this.isRoleShow = isRoleShow;
    }
    public Long getIsRoleShow()
    {
        return isRoleShow;
    }

    private List<Long> idsList;
    public void setIdsList(List<Long> idsList)
    {
        this.idsList = idsList;
    }
    public List<Long> getIdsList()
    {
        return idsList;
    }



    public void setEngineeringNumber(String engineeringNumber)
    {
        this.engineeringNumber = engineeringNumber;
    }
    public String getEngineeringNumber()
    {
        return engineeringNumber;
    }


    public void setEnterpriseName(String enterpriseName)
    {
        this.enterpriseName = enterpriseName;
    }
    public String getEnterpriseName()
    {
        return enterpriseName;
    }




    public String getTestProject() {
        return testProject;
    }

    public void setTestProject(String testProject) {
        this.testProject = testProject;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEngineeringId(Long engineeringId)
    {
        this.engineeringId = engineeringId;
    }

    public Long getEngineeringId()
    {
        return engineeringId;
    }
    public void setTotal(Long total)
    {
        this.total = total;
    }

    public Long getTotal()
    {
        return total;
    }
    public void setDoneNum(Long doneNum)
    {
        this.doneNum = doneNum;
    }

    public Long getDoneNum()
    {
        return doneNum;
    }
    public void setDoneTotalNum(Long doneTotalNum)
    {
        this.doneTotalNum = doneTotalNum;
    }

    public Long getDoneTotalNum()
    {
        return doneTotalNum;
    }
    public void setDoneTotal(String doneTotal)
    {
        this.doneTotal = doneTotal;
    }

    public String getDoneTotal()
    {
        return doneTotal;
    }


    private List<Long> ids;
    public void setIds(List<Long> ids)
    {
        this.ids = ids;
    }
    public List<Long> getIds()
    {
        return ids;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("engineeringId", getEngineeringId())
            .append("total", getTotal())
            .append("doneNum", getDoneNum())
            .append("doneTotalNum", getDoneTotalNum())
            .append("doneTotal", getDoneTotal())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .toString();
    }
}
